<div class="modal-header">
    <h4 class="modal-title">采购订货单入库信息明细</h4>
</div>

<div class="col" style="width:100%">
    <div class="wrapper-md">
        <table class="table m-b-none">
            <thead>
            <tr>
                <th data-toggle="true">创建时间</th>
                <th>单据类型</th>
                <th>单据编号</th>
                <th ng-repeat="tb in dataMyshow.order.details">{{tb.purchasegoodsdetailsHpmc}}（{{tb.purchasegoodsdetailsHpdw}}）</th>
            </tr>
            <tr>
                <th>{{dataMyshow.order.createTime}}</th>
                <th>订货单</th>
                <th><a ng-click="jump(dataMyshow.order.purchaseId,'app.purchasingOrder')">{{dataMyshow.order.purchaseDdbh}}</a></th>
                <th ng-repeat="tbo in dataMyshow.order.details">{{tbo.purchasegoodsdetailsHpsl}}</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="tbr in dataMyshow.info">
                <td>{{tbr.createTime}}</td>
                <td>入库单</td>
                <td><a ng-click="jump(tbr.purchaseId,'app.purchasingWarehousing')">{{tbr.purchaseRkdh}}</a></td>
                <td ng-repeat="tbd in tbr.details">{{tbd.purchasegoodsdetailsHpsl}}</td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: right">入库单入库货物总数：</td>
                <td ng-repeat="d in doneAll">{{d.sl}}</td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: right">达成订单数量还差货物总数：</td>
                <td ng-repeat="nd in nDoneAll">{{nd.sl}}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>

<div class="modal-footer">
    <button class="btn btn-default" ng-click="cancel()">取消</button>
    <button class="btn btn-primary" ng-click="ok()">确定</button>
</div>